<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>约拍平台 - 摄影师认证</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #f8f8f8;
            margin: 0;
            padding: 0;
            color: #333;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            font-size: 14px;
        }
        .form-input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            background-color: white;
        }
        .form-input:focus {
            outline: none;
            border-color: #3b82f6;
        }
        .form-select {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            background-color: white;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
        }
        .form-select:focus {
            outline: none;
            border-color: #3b82f6;
        }
        .upload-box {
            width: 100px;
            height: 100px;
            border: 1px dashed #d1d5db;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background-color: white;
        }
        .upload-box:hover {
            border-color: #3b82f6;
        }
        .tag-item {
            display: inline-block;
            padding: 6px 12px;
            background-color: #f3f4f6;
            border-radius: 16px;
            margin-right: 8px;
            margin-bottom: 8px;
            font-size: 12px;
            cursor: pointer;
        }
        .tag-item.active {
            background-color: #dbeafe;
            color: #3b82f6;
        }
        .submit-btn {
            width: 100%;
            padding: 12px;
            background-color: #3b82f6;
            color: white;
            border-radius: 8px;
            font-weight: 500;
            text-align: center;
        }
        .submit-btn:disabled {
            background-color: #93c5fd;
        }
        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            flex: 1;
        }
        .step-number {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #e5e7eb;
            color: #9ca3af;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 500;
            margin-bottom: 8px;
            z-index: 10;
        }
        .step-title {
            font-size: 12px;
            color: #9ca3af;
            text-align: center;
        }
        .step-item.active .step-number {
            background-color: #3b82f6;
            color: white;
        }
        .step-item.active .step-title {
            color: #3b82f6;
            font-weight: 500;
        }
        .step-item.completed .step-number {
            background-color: #3b82f6;
            color: white;
        }
        .step-item.completed .step-title {
            color: #3b82f6;
        }
        .step-line {
            position: absolute;
            top: 12px;
            height: 2px;
            width: 100%;
            background-color: #e5e7eb;
            left: -50%;
        }
        .step-item:first-child .step-line {
            display: none;
        }
        .step-item.active .step-line, .step-item.completed .step-line {
            background-color: #3b82f6;
        }
    </style>
</head>
<body>
    <!-- 状态栏将通过JS加载 -->
    
    <div class="pt-7 pb-20">
        <!-- 顶部标题栏 -->
        <div class="bg-white px-4 py-3 flex items-center justify-between sticky top-0 z-10 shadow-sm">
            <a href="profile.html" class="text-gray-800">
                <i class="fas fa-arrow-left"></i>
            </a>
            <h1 class="text-lg font-bold">摄影师认证</h1>
            <div class="w-5"></div>
        </div>
        
        <!-- 步骤指示器 -->
        <div class="bg-white p-4 mb-4">
            <div class="flex justify-between">
                <div class="step-item active">
                    <div class="step-number">1</div>
                    <div class="step-line"></div>
                    <div class="step-title">基本信息</div>
                </div>
                <div class="step-item">
                    <div class="step-number">2</div>
                    <div class="step-line"></div>
                    <div class="step-title">作品上传</div>
                </div>
                <div class="step-item">
                    <div class="step-number">3</div>
                    <div class="step-line"></div>
                    <div class="step-title">资质认证</div>
                </div>
                <div class="step-item">
                    <div class="step-number">4</div>
                    <div class="step-line"></div>
                    <div class="step-title">提交审核</div>
                </div>
            </div>
        </div>
        
        <!-- 表单内容 -->
        <div class="bg-white p-4 mb-4">
            <div class="form-group">
                <label class="form-label">真实姓名</label>
                <input type="text" class="form-input" placeholder="请输入您的真实姓名">
                <div class="text-xs text-gray-500 mt-1">请填写与身份证一致的姓名，认证后不可修改</div>
            </div>
            
            <div class="form-group">
                <label class="form-label">身份证号码</label>
                <input type="text" class="form-input" placeholder="请输入您的身份证号码">
                <div class="text-xs text-gray-500 mt-1">用于实名认证，我们将严格保护您的隐私</div>
            </div>
            
            <div class="form-group">
                <label class="form-label">摄影经验</label>
                <select class="form-select">
                    <option value="">请选择您的摄影经验</option>
                    <option value="1">1年以下</option>
                    <option value="2">1-3年</option>
                    <option value="3">3-5年</option>
                    <option value="4">5年以上</option>
                </select>
            </div>
            
            <div class="form-group">
                <label class="form-label">擅长风格（可多选）</label>
                <div class="flex flex-wrap">
                    <div class="tag-item">人像</div>
                    <div class="tag-item">婚纱</div>
                    <div class="tag-item">写真</div>
                    <div class="tag-item">日系</div>
                    <div class="tag-item">古风</div>
                    <div class="tag-item">街拍</div>
                    <div class="tag-item">私房</div>
                    <div class="tag-item">商业</div>
                </div>
            </div>
            
            <div class="form-group">
                <label class="form-label">个人简介</label>
                <textarea class="form-input" rows="4" placeholder="请简要介绍您的摄影经历、风格特点等"></textarea>
            </div>
        </div>
        
        <!-- 作品上传 -->
        <div class="bg-white p-4 mb-4">
            <div class="form-group">
                <label class="form-label">上传代表作品（至少3张）</label>
                <div class="text-xs text-gray-500 mb-3">请上传您的代表作品，展示您的摄影水平和风格</div>
                
                <div class="flex flex-wrap gap-3">
                    <div class="upload-box">
                        <i class="fas fa-plus text-gray-400"></i>
                        <div class="text-xs text-gray-400 mt-1">上传作品</div>
                    </div>
                    
                    <div class="relative w-24 h-24">
                        <img src="https://images.unsplash.com/photo-1513379733131-47fc74b45fc7?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80" class="w-full h-full object-cover rounded-lg">
                        <div class="absolute top-1 right-1 bg-black bg-opacity-50 rounded-full w-5 h-5 flex items-center justify-center">
                            <i class="fas fa-times text-white text-xs"></i>
                        </div>
                    </div>
                    
                    <div class="relative w-24 h-24">
                        <img src="https://images.unsplash.com/photo-1515372039744-b8f02a3ae446?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80" class="w-full h-full object-cover rounded-lg">
                        <div class="absolute top-1 right-1 bg-black bg-opacity-50 rounded-full w-5 h-5 flex items-center justify-center">
                            <i class="fas fa-times text-white text-xs"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 资质认证 -->
        <div class="bg-white p-4 mb-4">
            <div class="form-group">
                <label class="form-label">上传身份证正面照片</label>
                <div class="text-xs text-gray-500 mb-3">请上传清晰的身份证正面照片，用于实名认证</div>
                
                <div class="upload-box w-full h-32 mb-3">
                    <i class="fas fa-id-card text-gray-400 text-xl mb-1"></i>
                    <div class="text-xs text-gray-400">上传身份证正面</div>
                </div>
            </div>
            
            <div class="form-group">
                <label class="form-label">上传摄影相关证书（选填）</label>
                <div class="text-xs text-gray-500 mb-3">如有摄影相关证书，可上传提高认证通过率</div>
                
                <div class="upload-box w-full h-32">
                    <i class="fas fa-certificate text-gray-400 text-xl mb-1"></i>
                    <div class="text-xs text-gray-400">上传证书照片</div>
                </div>
            </div>
        </div>
        
        <!-- 提交按钮 -->
        <div class="p-4">
            <button class="submit-btn">下一步</button>
            <div class="text-xs text-gray-500 text-center mt-3">
                认证信息提交后将在1-3个工作日内审核，请耐心等待
            </div>
        </div>
    </div>
    
    <script>
        // 加载状态栏
        document.addEventListener('DOMContentLoaded', function() {
            // 创建iOS状态栏
            const statusBar = document.createElement('div');
            statusBar.className = 'bg-black text-white h-7 flex items-center justify-between px-4 text-xs fixed top-0 left-0 right-0 z-50';
            statusBar.innerHTML = `
                <div>
                    <span>9:41</span>
                </div>
                <div class="flex space-x-1">
                    <i class="fas fa-signal"></i>
                    <i class="fas fa-wifi"></i>
                    <i class="fas fa-battery-full"></i>
                </div>
            `;
            document.body.prepend(statusBar);
            
            // 标签点击事件
            const tagItems = document.querySelectorAll('.tag-item');
            tagItems.forEach(item => {
                item.addEventListener('click', function() {
                    this.classList.toggle('active');
                });
            });
        });
    </script>
</body>
</html> 